.filelist li {
    display: inline;
    float: left;
    font-size: 12px;
    margin-right:8px;
    overflow: hidden;
    position: relative;
    text-align: center;
    list-style: none;
}
.filelist div.file-panel {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
    height: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 300;
}
.filelist div.file-panel span {
    cursor: pointer;
    display: inline;
    float: right;
    height: 24px;
    margin: 5px 1px 1px;
    overflow: hidden;
    text-indent: -9999px;
    width: 24px;
    background: url(../images/icons.png) no-repeat;
}
.filelist div.file-panel span.cancel {
    background-position: -48px -24px;
}
.filelist div.file-panel span.cancel:hover {
    background-position: -48px 0;
}